
import time
import logging
from config import data_username, data_password, data_captcha
class DataAnalysisUtil:



    # @classmethod
    # def get_token(cls):
    #     body = {"t": time.time(), "username": data_username, "password": data_password,
    #             "uuid": "c531a688-a673-4d73-8775-6a1a27435d60", "captcha": data_captcha}
    #     token = DataLoginApi.login(body).json().get("token")
    #     return token




    @classmethod
    def get_currentTime(cls):
        current_time = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())
        return current_time
        pass



if __name__ == '__main__':
    import datetime

    # current_time = datetime.datetime.now()
    current_time = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())
    print(current_time)